﻿using System;
using System.Collections.Generic;
using System.Text;
using T.FAS.Runtime.Metadata.Entity;

namespace T.FAS.Runtime.Metadata.SPI
{
    /// <summary>
    /// ID 校验
    /// </summary>
    public interface IMetaDataIdentifier
    {
        /// <summary>
        /// 校验元数据是否唯一
        /// </summary>
        /// <param name="metaDataContent">具体元数据</param>
        /// <returns>true: 唯一; false: 已存在</returns>
        bool CheckUnique(IMetaDataContent metaDataContent);
    }
}
